package com.bean;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

public class ComputerList {
	Map<Integer, Computer> all = new HashMap<>();
	Set<String> ipSet = new HashSet<>();
	int id = 0;
	
	public int nextId() {
		this.id++;
		return this.id;
	}
	
	public Map<Integer, Computer> getAll() {
		return all;
	}
	public Set<String> getIpSet() {
		return ipSet;
	}
}
